<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class UserRechargeBean extends BaseBean
{

	static $id = 'id'; //
	static $orderNumber = 'order_number'; //订单号
	static $userId = 'user_id'; //用户id
	static $payPrice = 'pay_price'; //充值金额
	static $givePrice = 'give_price'; //赠送金额
	static $realPrice = 'real_price'; //实际到账金额
	static $status = 'status'; //充值状态 1 未支付，2取消支付，3支付成功
	static $createdAt = 'created_at'; //创建时间

	static $tableName = 'user_recharge';
	static $alias = 'UserRechargeBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getOrderNumber(){
		return $this->getParameter(self::$orderNumber);
	}

	public function setOrderNumber($orderNumber){
		$this->setParameter('order_number',$orderNumber);
	}

	public function getUserId(){
		return $this->getParameter(self::$userId);
	}

	public function setUserId($userId){
		$this->setParameter('user_id',$userId);
	}

	public function getPayPrice(){
		return $this->getParameter(self::$payPrice);
	}

	public function setPayPrice($payPrice){
		$this->setParameter('pay_price',$payPrice);
	}

	public function getGivePrice(){
		return $this->getParameter(self::$givePrice);
	}

	public function setGivePrice($givePrice){
		$this->setParameter('give_price',$givePrice);
	}

	public function getRealPrice(){
		return $this->getParameter(self::$realPrice);
	}

	public function setRealPrice($realPrice){
		$this->setParameter('real_price',$realPrice);
	}

	public function getStatus(){
		return $this->getParameter(self::$status);
	}

	public function setStatus($status){
		$this->setParameter('status',$status);
	}

	public function getCreatedAt(){
		return $this->getParameter(self::$createdAt);
	}

	public function setCreatedAt($createdAt){
		$this->setParameter('created_at',$createdAt);
	}


}
